home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ffffccccaaaaggggeeeennnntttt((((1111mmmm)))) ffffccccaaaaggggeeeennnntttt((((1111mmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- ffffccccaaaaggggeeeennnntttt - FibreVault Status/Configuration daemon
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ffffccccaaaaggggeeeennnntttt _f_c_a_g_e_n_t-_o_p_t_i_o_n_s-_f_i_l_e
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ffffccccaaaaggggeeeennnntttt and ffffcccccccclllliiii have been deprecated in favor of a new fibre channel
- drive manager sssseeeessssddddaaaaeeeemmmmoooonnnn and sssseeeessssmmmmggggrrrr. Accordingly, fcagent is now
- chkconfig off by default.
-
- ffffccccaaaaggggeeeennnntttt is a daemon which allows communication with attached FibreVault
- enclosures; status is collected and re-configuration is allowed.
-
- The low-level transport protocol is the industry standard SES (SCSI-3
- Enclosure Services). The top-level transport is via RPC to allow for
- remote system monitoring and control. See ffffcccccccclllliiii((((1111MMMM)))) for details.
-
- The ffffccccaaaaggggeeeennnntttt is normally started automatically during boot if ffffccccaaaaggggeeeennnntttt is
- cccchhhhkkkkccccoooonnnnffffiiiigggg'ed oooonnnn. Three processes are started for each instance of
- ffffccccaaaaggggeeeennnntttt; the backend polling thread which handles polling the FibreVault
- enclosures for status, the frontend RPC thread which is responsible for
- communication with user interfaces like ffffcccccccclllliiii, and an event handler
- thread which handles FRU status change events. Each event results in a
- user configurable callout shell script being executed. These scripts are
- user customizable.
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- The _f_c_a_g_e_n_t-_o_p_t_i_o_n_s-_f_i_l_e is provided for customizing certain aspects of
- ffffccccaaaaggggeeeennnntttt operation. This file normally resides at
- ////eeeettttcccc////ccccoooonnnnffffiiiigggg////ffffccccaaaaggggeeeennnntttt....ooooppppttttiiiioooonnnnssss. The contents of the file is a list of
- customizable variables and their values.
-
- PPPPoooollllllllPPPPeeeerrrriiiioooodddd Specifies the time, in seconds, between successive polls
- of a particular FibreVault enclosure. Status change
- detection is not interrupt driven so status changes will
- not be detected until the next poll period. The default
- value is 66660000.
-
- FFFFllllaaaasssshhhhPPPPeeeerrrriiiioooodddd Specifies the "flash-period", in 1/10ths seconds,
- pertaining to the ffffcccccccclllliiii ffffllllaaaasssshhhh command. The default value
- is 5555.
-
- PPPPrrrreeeeRRRReeeemmmmoooovvvvaaaallllCCCCaaaalllllllloooouuuutttt
- Specifies the pathname of the script to be executed just
- prior to performing a ffffcccccccclllliiii rrrreeeemmmmoooovvvveeee or bbbbyyyyppppaaaassssssss command. The
- default value is ////uuuussssrrrr////lllliiiibbbb////ffffccccaaaaggggeeeennnntttt////pppprrrreeeerrrreeeemmmmoooovvvveeee....CCCCOOOO.
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ffffccccaaaaggggeeeennnntttt((((1111mmmm)))) ffffccccaaaaggggeeeennnntttt((((1111mmmm))))
-
-
-
- PPPPoooossssttttRRRReeeemmmmoooovvvvaaaallllCCCCaaaalllllllloooouuuutttt
- Specifies the pathname of the script to be executed
- immediately following the performance of a ffffcccccccclllliiii rrrreeeemmmmoooovvvveeee or
- bbbbyyyyppppaaaassssssss command. The default value is
- ////uuuussssrrrr////lllliiiibbbb////ffffccccaaaaggggeeeennnntttt////ppppoooossssttttrrrreeeemmmmoooovvvveeee....CCCCOOOO.
-
- PPPPoooossssttttIIIInnnnsssseeeerrrrttttiiiioooonnnnCCCCaaaalllllllloooouuuutttt
- Specifies the pathname of the script to be executed
- immediately following the performance of a ffffcccccccclllliiii iiiinnnnsssseeeerrrrtttt or
- uuuunnnnbbbbyyyyppppaaaassssssss command. The default value is
- ////uuuussssrrrr////lllliiiibbbb////ffffccccaaaaggggeeeennnntttt////ppppoooossssttttiiiinnnnsssseeeerrrrtttt....CCCCOOOO.
-
- SSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddCCCCaaaalllllllloooouuuutttt
- Specifies the pathname of the script to be executed
- following a FRU status change. The default value is
- ////uuuussssrrrr////lllliiiibbbb////ffffccccaaaaggggeeeennnntttt////ssssttttaaaattttcccchhhhaaaannnnggggeeeedddd....CCCCOOOO.
-
- DDDDeeeebbbbuuuuggggLLLLeeeevvvveeeellll Specifies the "verbosity" of ffffccccaaaaggggeeeennnntttt. The default value is
- 0000.
-
- AAAAlllllllloooowwwwRRRReeeemmmmooootttteeeeRRRReeeeqqqquuuueeeessssttttssss
- Tells ffffccccaaaaggggeeeennnntttt to process requests that are not from
- localhost on a reserved port. This option allows any host
- on the network to perform any operation. The default
- value is 0000, and can be set to 1111 to allow remote requests.
-
-
- CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN OOOOFFFF EEEEVVVVEEEENNNNTTTT CCCCAAAALLLLLLLLOOOOUUUUTTTT SSSSCCCCRRRRIIIIPPPPTTTTSSSS
- The ffffccccaaaaggggeeeennnntttt event handler executes one or more callout scripts in
- response to a FRU status change or user initiated reconfiguration. Each
- time a script is executed, 9 arguments are passed to it which a user can
- use to customize said scripts. For example, the SSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddCCCCaaaalllllllloooouuuutttt
- script can be modified to send mail to a system administrator's chatty
- pager should a fault be detected. The arguments are as follows:
-
-
- _1 - _h_o_s_t _n_a_m_e A character string specifying the name of the host machine
- where the FRU status change was detected.
-
- _2 - _c_a_l_l_o_u_t _t_y_p_e
- A character string specifying the callout type. The
- possible values are _I_N_F_O, _R_E_C_O_N_F_I_G and _F_A_I_L_U_R_E. The types
- can be viewed in increasing priority of importance. The
- _I_N_F_O type is used when the FRU status change is
- informational and little or no system administrator
- intervention is needed. An example of an informational
- state change is a disk FRU transitioning from _n_o_t _p_r_e_s_e_n_t
- to _O_K following the insertion of of a previously absent
- disk drive. The _R_E_C_O_N_F_I_G type is used following a
- configuration change which may be of interest to the
- system administrator. An example of a reconfiguration
- state change is a disk FRU transitioning from _O_K to
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ffffccccaaaaggggeeeennnntttt((((1111mmmm)))) ffffccccaaaaggggeeeennnntttt((((1111mmmm))))
-
-
-
- _b_y_p_a_s_s_e_d following the execution of a ffffcccccccclllliiii bbbbyyyyppppaaaassssssss
- command. The _F_A_I_L_U_R_E type is used when system
- administrator intervention is needed due to an unexpected
- FRU failure.
-
- _3 - _t_i_m_e _s_t_a_m_p A character string specifying the time at which the status
- change occurred.
-
- _4 - _c_h_a_n_n_e_l _I_D A numerical character string specifying the channel number
- on which the state change was detected.
-
- _5 - _e_n_c_l_o_s_u_r_e _I_D
- A numerical character string specifying the FibreVault
- enclosure number on which the state change was detected.
- Is only specified for the case of the
- SSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddCCCCaaaalllllllloooouuuutttt. It is set to -1 for other callouts.
-
- _6 - _F_R_U _t_y_p_e A character string specifying the type/class of FRU for
- which the status change is being reported. Possible values
- are _D_I_S_K (for disk FRUs), _P_S (for power supply FRUs), _F_A_N
- (for fan FRUs), and _L_C_C (for Link-Control-Card FRUs).
-
- _7 - _F_R_U _I_D A numerical character string specifying the ID of the FRU
- which underwent the state change. Possible values are 0-9
- for disk FRUs, 0-1 for power supply FRUs, 0 for fan FRUs,
- and 0 for LCC FRUs.
-
- _8 - _S_t_a_t_e _t_r_a_n_s_i_t_i_o_n _f_r_o_m _s_t_a_t_e
- A character string specifying the from state of the FRU
- state transition. Possible values are _O_K, _O_F_F, _F_A_I_L_E_D,
- _N_O_T-_P_R_E_S_E_N_T, _B_Y_P_A_S_S_E_D, and _P_E_E_R-_F_A_I_L_E_D. Is only specified
- for the case of the SSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddCCCCaaaalllllllloooouuuutttt. Is set to -1 for
- other callouts.
-
- _9 - _S_t_a_t_e _t_r_a_n_s_i_t_i_o_n _t_o _s_t_a_t_e
- A character string specifying the to state of the FRU
- state transition. Possible values are _O_K, _O_F_F, _F_A_I_L_E_D,
- _N_O_T-_P_R_E_S_E_N_T, _B_Y_P_A_S_S_E_D, and _P_E_E_R-_F_A_I_L_E_D. Is only specified
- for the case of the SSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddCCCCaaaalllllllloooouuuutttt. Is set to -1 for
- other callouts.
-
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- The following is an example of a SSSSttttaaaattttuuuussssCCCChhhhaaaannnnggggeeeeddddCCCCaaaalllllllloooouuuutttt C-shell script
- which may be used to send mail to a system administrator following the
- detection of a FRU failure.
-
- #! /bin/csh -f
- #
- # If the status change is a failure, send mail to system
- # administrator.
- #
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- ffffccccaaaaggggeeeennnntttt((((1111mmmm)))) ffffccccaaaaggggeeeennnntttt((((1111mmmm))))
-
-
-
- set TMP="/tmp/statchanged_$$"
-
- if ("$2" == FAILURE) then
- echo "$6 #$7 in enclosure $5 on channel $4 on host $1 FAILED at $3" > $TMP
- Mail -s "FRU Failure" root@alpha.centauri.com < $TMP
- /bin/rm -f $TMP
- endif
-
-
-
- FFFFIIIILLLLEEEESSSS
- /usr/bin/fcagent
- /etc/config/fcagent.options
- /etc/init.d/fcagent
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fccli(1M), chkconfig(1M), sesdaemon(1M), sesmgr(1M)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-